Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor SNARKs #96

Merged
merged 5 commits into from
Nov 10, 2022
Merged

Refactor SNARKs #96

merged 5 commits into from
Nov 10, 2022

Conversation

chancharles92
Copy link
Collaborator

@chancharles92 chancharles92 commented Nov 10, 2022

close #93 and #94 and #95

4x improvement on verifier time + 2x improvement on prover time

Performance on the local laptop:
Before optimizations

  • n = 16: verify = 170ms, prove = 6.745s
  • n = 19: verify = 829ms, prove = 51.822s
  • n = 20: too slow to run

After optimizations:

  • n = 16: verify = 72ms, prove = 3.254s
  • n = 19: verify = 211ms, prove = 25.5s
  • n = 20: verify = 421ms, prove = 55.787s

@chancharles92 chancharles92 merged commit 4fdbec3 into main Nov 10, 2022
@alxiong alxiong deleted the new-prod-check branch November 10, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants